package cn.maihe.elg.operation.repository.mapper;

import cn.maihe.elg.operation.repository.entity.OrganizationDO;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrganizationMapper extends BaseMapper<OrganizationDO> {
    /**
     * 根据Name和OrgCode和DelFlag查询OrganizationDo
     * @param params Map
     * @return List<OrganizationDO>
     */
    List<OrganizationDO> findByNameLikeAndOrgCodeAndDelFlag(@Param("params") Map<String, Object> params);

}
